// import home from '@views/home';
// import look from "../views/look"
export default [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    component: resolve => require(['../views/home'], resolve),
  },
  // 试听
  {
    path: '/audition',
    component: resolve => require(['../views/audition'], resolve),
  },
  // 选课
  {
    path: '/course',
    component: resolve => require(['../views/course'], resolve),
  },
  // 题库
  {
    path: '/subjectBank',
    component: resolve => require(['../views/subjectBank'], resolve),
  },
  // 帮助
  {
    path: '/help',
    component: resolve => require(['../views/help'], resolve),
  },
  // 咨询
  {
    path: '/news',
    component: resolve => require(['../views/news'], resolve),
  },
  // 咨询详情
  {
    path: '/newsDetails',
    component: resolve => require(['../views/news/newsDetails.vue'], resolve),
  },
  // 课程详情
  {
    path: '/courseDetails',
    component: resolve => require(['../views/course/courseDetails.vue'], resolve),
  },
  // 学习中心
  {
    path: '/study',
    component: resolve => require(['../views/study'], resolve),
  },
  // 做题
  // {
  //   path: '/test',
  //   redirect:"/test",
  //   // component:resolve => require(['../views/test'],resolve),
  // },
  // 做题
  {
    path: '/test/:time?/:score?/:num?/:testpaper_id?/:model?/:explain?',
    name:"test",
    component:resolve => require(['../views/test'],resolve),
  },
  // 试题
  {
    path: '/paperExam/:product_id/:paper_id/:st_lx',
    name:"paperExam",
    component:resolve => require(['../views/AllPaper/main/paper_exam'],resolve),
  },
  // 协议
  {
    path: '/agreement/:company_id/:userpact_id/:contract_id',
    name:'agreement',
    component: resolve => require(['../views/agreement'], resolve),
  },
  // 签名
  {
    path: '/signature/:company_id/:contract_id',
    name:'signature',
    component: resolve => require(['../views/agreement/signature.vue'], resolve),
  },
  // 看课
  {
    path: '/look/:course_id',
    name: 'look',
    component: resolve => require(['../views/look'], resolve),
  },
  
  // 外部网页
  {
    path: '/school',
    component: resolve => require(['../views/webView'], resolve),
  },


  //   登陆
  {
    path: '/login',
    name: 'login',
    component: resolve => require(['../views/login/login.vue'], resolve),
  },
  //   //重设密码
  {
    path: '/forgetpw',
    name: 'forgetpw',
    component: resolve => require(['../views/login/resetPwd.vue'], resolve),
  },
 // 关于中课
//  {
// 	 path: '/aboutUs',
// 	 component: resolve => require(['@page/homeAboutUs/aboutUs'], resolve),
//  },
//  // 师资力量
//  {
//  	 path: '/teachers',
//  	 component: resolve => require(['@page/teachers/teachers'], resolve),
//  },
//   //开始学习
//   {
//     path: '/look/:kc_id/:kj_jd',
//     name: 'Look',
//     component: resolve => require(['@page/look'], resolve),
//     meta: {
//       hiddenFooter: true
//     }
//   },
//   {
//     path: '*',
//     redirect: '/404',
//   },
//   {
//     path: '/404',
//     component: resolve => require(['@page/404'], resolve),
//   },
 



];
